package com.boyan.order.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "order") // 配置文件中前缀为order的属性会自动注入到该类中，无需RefreshScope注解
@Data
public class OrderProperties {


    String timeout;

    String autoConfirm;

    String dbUrl;

}
